package com.lxmes.sales.service;

import java.util.List;
import com.lxmes.sales.domain.NcPurchaseOrderTotal;

/**
 * 采购订单总Service接口
 * 
 * @author lx
 * @date 2023-06-06
 */
public interface INcPurchaseOrderTotalService 
{
    /**
     * 查询采购订单总
     * 
     * @param id 采购订单总主键
     * @return 采购订单总
     */
    public NcPurchaseOrderTotal selectNcPurchaseOrderTotalById(Long id);

    /**
     * 查询采购订单总列表
     * 
     * @param ncPurchaseOrderTotal 采购订单总
     * @return 采购订单总集合
     */
    public List<NcPurchaseOrderTotal> selectNcPurchaseOrderTotalList(NcPurchaseOrderTotal ncPurchaseOrderTotal);

    /**
     * 新增采购订单总
     * 
     * @param ncPurchaseOrderTotal 采购订单总
     * @return 结果
     */
    public int insertNcPurchaseOrderTotal(NcPurchaseOrderTotal ncPurchaseOrderTotal);

    /**
     * 修改采购订单总
     * 
     * @param ncPurchaseOrderTotal 采购订单总
     * @return 结果
     */
    public int updateNcPurchaseOrderTotal(NcPurchaseOrderTotal ncPurchaseOrderTotal);

    /**
     * 批量删除采购订单总
     * 
     * @param ids 需要删除的采购订单总主键集合
     * @return 结果
     */
    public int deleteNcPurchaseOrderTotalByIds(Long[] ids);

    /**
     * 删除采购订单总信息
     * 
     * @param id 采购订单总主键
     * @return 结果
     */
    public int deleteNcPurchaseOrderTotalById(Long id);
    /**
     * 导入采购订单总信息
     *
     * @return 结果
     */
    String imporIteminfo(List<NcPurchaseOrderTotal> ncPurchaseOrderTotalList, boolean updateSupport, String operName);
}
